package com.ruikong.dazhi.service.basicinfo;

import com.github.pagehelper.PageInfo;
import com.ruikong.dazhi.controller.result.BaseResult;
import com.ruikong.dazhi.entity.basicinfo.Supplier;
import com.ruikong.dazhi.model.input.BasePageInput;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ISupplierService {

    PageInfo<Supplier> getSupplierListPage(BasePageInput input);

    int addSupplier(Supplier supplier, BaseResult result);

    int deleteSupplier(Supplier supplier);

    int updateSupplier(Supplier supplier,BaseResult result);

    Supplier queryById(int id);

    List<Supplier> queryAll();

    BaseResult supplierImport(MultipartFile file);

}
